package com.wen.hystrixdashboard;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author wenl
 * @version V2.0
 * @project 自己的框架
 * @package com.wen.hystrixdashboard
 * @date 2020/3/28
 * @describe
 */

@FeignClient(name = "eureka-producer")
public interface WenRemote {

    @GetMapping("/hello/")
    String hello(@RequestParam(value = "name") String name);

}
